package com.xiaoshuidi.cloud.framework.systemevent.core;

public class LeaseSystemEvent {
    private String eventType;
    private Object data;

    public LeaseSystemEvent() {
    }

    public LeaseSystemEvent(LeaseSystemEventTypeEnum eventType, LeaseSystemEventData data) {
        this.eventType = eventType.name();
        this.data = data;
    }

    public String getEventType() {
        return eventType;
    }

    public Object getData() {
        return data;
    }
}
